PC-DMIS 2019 R1 Object Library
Accessing an Object's Properties, Methods, and Events
See Also Send Topic Feedback | See Object Hierarchy Chart
Getting Started > Accessing an Object's Properties, Methods, and Events

Glossary Item Box

Objects are external classes that contain methods, properties and events.

 Methods: Methods are functions that usually perform actions. This usually return a boolean value to determine whether or not the function succeeded. Methods are analogous to verbs in languages.

 Properties: Properties allow you to read or sometime write certain characteristics or attributes of an object or control. Properties are analogous to adjectives in languages.

Events: Events are routines that get called when certain conditions are met. Events differ from methods and properties in that PC-DMIS is the source of the action, instead of the destination. To take advantage of events, the automation controller application must support events. Visual BASIC, for example supports events. Handling events involves declaring an object of the correct type and then adding handling functions for the different events. Currently events are found in only these objects:

See Also

Copyright © 2019. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.